package java3_1;
/**
 *4：输入一个数，判断是否是7的倍数。
 */
import java.util.Scanner;

public class homework4 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入一个整数：");
        int x = scanner.nextInt();
        if (x%7==0){
            System.out.println("是7的倍数！");
        }
        else {
            System.out.println("不是7的倍数！");
        }
    }
}
